package com.ruoyi.system.api.domain;

import java.math.BigDecimal;
import java.util.List;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 班级信息对象 school_classes
 * 
 * @author ruoyi
 * @date 2022-11-19
 */
@Data
public class SchoolClasses extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 所属校区 */
    private Long schoolId;

    @Excel(name = "所属校区")
    private String schoolName;

    /** 班级名称 */
    @Excel(name = "班级名称")
    private String classesName;

    /** 教务老师ID */
    private Long jwteacherId;
    @Excel(name = "教务老师用户名")
    private String jwusername;
    @Excel(name = "教务老师电话")
    private String jwphone;

    /** 教学老师ID */
    private Long jxteacherId;
    @Excel(name = "教学老师用户名")
    private String jxusername;
    @Excel(name = "教学老师电话")
    private String jxphone;

    /** 默认单次金额 */
    @Excel(name = "默认单次金额")
    private BigDecimal amount;

    /** 操作用户ID */
    private Long userId;
    @Excel(name = "操作用户名")
    private String username;
    @Excel(name = "操作用户电话")
    private String phone;

    private Long studentId;
    private List<SchoolStudent> studentList;

    private String createAtstart;
    private String createAtend;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("schoolId", getSchoolId())
            .append("classesName", getClassesName())
            .append("jwteacherId", getJwteacherId())
            .append("jxteacherId", getJxteacherId())
            .append("amount", getAmount())
            .append("userId", getUserId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
